package com.hzsxy.bighomework.api;

import java.io.Serializable;
import java.util.Date;

public class HomeworkView  implements Serializable {
    private static final long serialVersionUID = 3309193107381781483L;

    private int homeworkId;

    private String homeworkName;

    private String publishTime;

    private String endTime;

    private boolean finished;

    private boolean timeOut;

    private int questionId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(int homeworkId) {
        this.homeworkId = homeworkId;
    }

    public String getHomeworkName() {
        return homeworkName;
    }

    public void setHomeworkName(String homeworkName) {
        this.homeworkName = homeworkName;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public boolean isFinished() {
        return finished;
    }

    public void setFinished(boolean finished) {
        this.finished = finished;
    }

    public boolean isTimeOut() {
        return timeOut;
    }

    public void setTimeOut(boolean timeOut) {
        this.timeOut = timeOut;
    }

    public HomeworkView(int homeworkId, String homeworkName, String publishTime, String endTime, int questionId) {
        this.homeworkId = homeworkId;
        this.homeworkName = homeworkName;
        this.publishTime = publishTime;
        this.endTime = endTime;
        this.questionId = questionId;
    }
}
